﻿using UnityEngine;

namespace Yoozoo.Mars.Got.SpriteAnim
{
    public class ParticleSystemJobHandler : MonoBehaviour
    {
        private AnimSpriteCreator animSpriteCreator;

        public void SetCreator(AnimSpriteCreator animSpriteCreator)
        {
            this.animSpriteCreator = animSpriteCreator;
        }

        private void Update()
        {
            animSpriteCreator.Schedule();
        }
    }
}
